package com.hb.函数式编程

fun main() {
    println((0..5).reduce { total, item -> total + item })
}